<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>工会基本信息</title>
<link rel="stylesheet" type="text/css"
	href="../../css/themes/default/easyui.css" />
<link rel="stylesheet" type="text/css" href="../../css/themes/icon.css" />
<script type="text/javascript" src="../../js/jquery-1.7.2.js"></script>
<script type="text/javascript" src="../../js/jquery.form.js"></script>
<script type="text/javascript"
	src="../../js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="../../js/ListData.js"></script>
<script type="text/javascript">
	$.fn.datebox.defaults.formatter = function(date) {
		var y = date.getFullYear();
		var m = date.getMonth() + 1;
		m = m < 10 ? "0" + m : m;
		var d = date.getDate();
		d = d < 10 ? "0" + d : d;
		return y + '-' + m + '-' + d;
	}
	$.fn.combo.defaults.panelHeight = 200;
	function loadData(data) {
		$('#org_info').form("load", data);
	}
	function alterAction(url) {
		$("#org_info").attr("action", url);
	}
	function clearForm() {
		$('#org_info').clearForm();
	}
	$(function() {
		$("#orgID").val(window.top.cur_object.id);
		$('#org_info').submit(function() {
			$(this).ajaxSubmit({
				clearForm : true,
				success : function() {
					window.parent.refresh();
				}
			});
			return false;
		});
	})
</script>
<style type="text/css">
body {
	margin: 0px;
	padding: 0px;
	width: 100%;
	height: 100%;
}

form {
	font-size: 13px;
	font-weight: 400;
}
</style>
</head>
<body style="margin: 0">
	<form id="org_info" name="org_info" method="post"
		action="../../org/achievement/add">
		<table>
			<tr>
				<td nowrap="nowrap" width="100" align="right"></td>
				<td nowrap="nowrap" width="200" align="left" colspan="3"><input
					id="orgID" name="orgID" type="hidden" /><input name="id" id="id"
					type="hidden" /></td>
			</tr>
			<tr>
				<td nowrap="nowrap" width="100" align="right">成果名称：</td>
				<td nowrap="nowrap" width="200" align="left"><input
					name="achievementName" id="achievementName" /></td>
				<td nowrap="nowrap" width="100" align="right">成果类型：</td>
				<td nowrap="nowrap" width="200" align="left"><select
					name="achievementType" id="achievementType" class="easyui-combobox"
					style="width: 170px;"
					data-options="
					data:list_achievement_type,
					valueField: 'value',
					textField: 'text'
			"></select></td>
			</tr>
			<tr>
				<td nowrap="nowrap" width="100" align="right">成果级别：</td>
				<td nowrap="nowrap" width="200" align="left"><select
					name="achievementDegree" id="achievementDegree"
					class="easyui-combobox" style="width: 170px;"
					data-options="
					data:list_achievement_degree,
					valueField: 'value',
					textField: 'text'
			"></select></td>
				<td nowrap="nowrap" width="100" align="right">获取时间：</td>
				<td nowrap="nowrap" width="200" align="left"><input
					name="acquireDate" id="acquireDate" class="easyui-datebox" /></td>
			</tr>
			<tr>
				<td nowrap="nowrap" width="100" align="right">备注：</td>
				<td nowrap="nowrap" colspan="3" align="left"><textarea
						name="remark" id="remark" cols="50" rows="1"></textarea></td>
			</tr>
			<tr>
				<td colspan="4" align="center">
					<button type="submit">提交</button>
				</td>
			</tr>
		</table>
	</form>
</body>
</html>